<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<head>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../resources/bootstrap/css/bootstrap.css">
    <script type="text/JavaScript" scr="inputfile.js">
    </script>
</head>
<body>
<div class="row">
<div class="span1">
<form:form id="form" modelAttribute="main" method="POST" action="/login">
    <h2 class="input-block-level">Welcome to our gallery </h2>
    <table>
        <tb>
             <input type="submit" value="Main gallery" class="btn btn-large btn-primary">
        </tb>
        <tb>
             <input type="submit" value="Users" class="btn btn-large btn-primary">
        </tb>
        <tb>
             <input type="submit" value="About" class="btn btn-large btn-primary">
        </tb>
    </table>
    <table>
    <table>
    <td><form:label path="authorizationUser.login">Login:</form:label></td>
    <td><form:input path="authorizationUser.login" type="text" name="name"/></td>
    <td><form:label path="authorizationUser.password">Password:</form:label></td>
    <td><form:input path="authorizationUser.password" type="password"/> </td>
    <td><input type="submit" value="Log in" class="btn btn-large btn-primary"/></td>
    </table>
    </form:form>
</body>
</html>